﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Script.Serialization;

namespace SiteADLN.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/

        public ActionResult Index()
        {
            return View();
        }

        [HttpPost]
        public ActionResult CarregarConteudo(string conteudo)
        {
            System.Threading.Thread.Sleep(2000);
            switch (conteudo)
            {
                case "_Jesus_e_a_videira": return PartialView("_Jesus_e_a_videira");
                case "_XII_Congresso_Shekinah": return PartialView("_XII_Congresso_Shekinah");
                case "_EBD_3_Trimestre_2014": return PartialView("_EBD_3_Trimestre_2014");
                case "_video_historia_de_jo": return PartialView("_video_historia_de_jo");
                default: return null;
            }
        }
    }
}
